package com.justnow.offer.genericfunction;

/**
 * @author justnow
 * Created on 2020-10-10
 * Description
 */
public class Generic {

    public <T> T function(Class<T> tClass) throws IllegalAccessException, InstantiationException {
        T t = tClass.newInstance();
        return t;
    }
}
